<template>
  <div id="app">
    <Header></Header>
    <div class="main">
      <!-- <PostList></PostList> -->
      <router-view name="slidebar"></router-view>
      <router-view name="main"></router-view>
    </div>
    
  </div>
</template>

<script>
import Header from './components/header'
import PostList from './components/PostList'

export default {
  name: 'App',
  components:{
    Header,
    PostList
  }
}
</script>

<style>
.main{
  width: 80%;
  margin: 0 auto;
}
</style>
